package fr.aprr.geoloc.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import fr.aprr.geoloc.shared.domain.Odyssee;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("odyssee")
public interface OdysseeService extends RemoteService {
  Odyssee getOdyssee(Integer id) throws IllegalArgumentException;
  List<Odyssee> getAllOdyssee() throws IllegalArgumentException;
  String greetServer(String string);
}
